package com.cvnert.testplatform.service;

import com.cvnert.testplatform.domain.Defect;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cvnert.testplatform.domain.vo.DefectListVo;
import com.cvnert.testplatform.domain.vo.DefectVo;

/**
 * 缺陷表操作Service
* @author pc
* @description 针对表【defect】的数据库操作Service
* @createDate 2024-03-24 14:47:45
*/
public interface DefectService extends IService<Defect> {
    /**
     * 新增缺陷
     */
    Object addDefect(DefectVo defectVo);
    /**
     * 删除缺陷
     */
    Object deleteDefect(Integer did);
    /**
     * 修改缺陷
     */
    Object updateDefect(DefectVo defectVo);
    /**
     * 获取缺陷信息
     */
    Object getDefectList(DefectListVo defectListVo);
    /**
     * 获取缺陷详情
     */
    Object getDefectDetail(Integer did);
    /**
     * 获取缺陷数量
     */
    Object getDefectCount(DefectListVo defectListVo);

}
